<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
    <head>
<meta charset="utf-8">
<title>创新活动结束列表<?php echo (TITLE); ?></title>
<meta charset=utf-8 />
        <link href="<?php echo (HOMECSS); ?>bootstrap.min.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>font-awesome.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>se7en-font.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>isotope.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>jquery.fancybox.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>fullcalendar.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>wizard.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>select2.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>morris.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>datatables.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>datepicker.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>timepicker.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>colorpicker.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>bootstrap-switch.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>daterange-picker.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>typeahead.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>summernote.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>pygments.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>style.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>color/green.css" media="all" rel="alternate stylesheet" title="green-theme" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>color/orange.css" media="all" rel="alternate stylesheet" title="orange-theme" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>color/magenta.css" media="all" rel="alternate stylesheet" title="magenta-theme" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>color/gray.css" media="all" rel="alternate stylesheet" title="gray-theme" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>tishiStyle.css" media="all" rel="stylesheet" type="text/css" />
        <script src="<?php echo (HOMEJS); ?>tishiMsgbox.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>jquery.min.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>jquery-ui.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>bootstrap.min.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>raphael.min.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>selectivizr-min.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>jquery.mousewheel.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>jquery.vmap.min.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>jquery.vmap.sampledata.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>jquery.vmap.world.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>jquery.bootstrap.wizard.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>fullcalendar.min.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>gcal.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>jquery.dataTables.min.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>datatable-editable.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>jquery.easy-pie-chart.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>excanvas.min.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>jquery.isotope.min.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>isotope_extras.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>modernizr.custom.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>jquery.fancybox.pack.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>select2.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>styleswitcher.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>wysiwyg.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>summernote.min.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>jquery.inputmask.min.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>jquery.validate.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>bootstrap-fileupload.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>bootstrap-datepicker.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>bootstrap-timepicker.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>bootstrap-colorpicker.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>bootstrap-switch.min.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>typeahead.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>daterange-picker.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>date.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>morris.min.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>skycons.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>fitvids.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>jquery.sparkline.min.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>main.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>respond.js" type="text/javascript">
        </script>
        <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport"/>
		  </head>
<script>
	window.onload = function() {
		var CONTROLLER_ACTION = "<?php echo (CONTROLLER_NAME); ?>" + "/"
				+ "<?php echo (ACTION_NAME); ?>";
		switch (CONTROLLER_ACTION) {
			case "Index/index":                   $("#Index").addClass("current");    break;
			case "News/showlist":                 $("#News").addClass("current");     break;
			
			case "Project/showlist":              $("#Project").addClass("current");
												  $("#ProjectL").addClass("current"); break;
												  
		    case "Project/myjoin":                $("#Project").addClass("current");
				                                  $("#ProjectM").addClass("current"); break;	
												  
			case "Project/myapply":               $("#Project").addClass("current");
				                                  $("#ProjectM").addClass("current"); break;
												  
			case 'Project/myrelease':             $("#Project").addClass("current");
				                                  $("#ProjectM").addClass("current"); break;	
												  	
			case 'Project/declarepro':            $("#Project").addClass("current");
												  $("#ProjectM").addClass("current"); break;	
												  
			case "Idea/showlist":                 $("#Idea").addClass("current");
												  $("#IdeaL").addClass("current");    break;
												  
			case 'Idea/myidea':                   $("#Idea").addClass("current");
				                                  $("#IdeaM").addClass("current");    break;
												  
			case 'Idea/addideas':                 $("#Idea").addClass("current");
				                                  $("#IdeaM").addClass("current");    break;
												  
			case 'Idea/mycomment':                $("#Idea").addClass("current");
				                                  $("#IdeaM").addClass("current");    break;
												  
			case "Activity/showlist":             $("#Activity").addClass("current"); break;
			
			case "Subject/showlist":              $("#Subject").addClass("current");  break;
			
		}
		
		var h = document.getElementById("myH").offsetHeight; 
		document.getElementById("notice").style.height = h+"px";
		
		var g1 = document.getElementById("first_middle_newest").offsetHeight; 
		var g2 = document.getElementById("second_middle_newest").offsetHeight; 
		var g3 = document.getElementById("third_middle_newest").offsetHeight;
		if(g1>=g2&&g1>=g3){
			document.getElementById("second_middle_newest").style.height = g1+"px";
		    document.getElementById("third_middle_newest").style.height = g1+"px";
		} 
		if(g2>=g3&&g2>=g1){
			document.getElementById("first_middle_newest").style.height = g2+"px";
		    document.getElementById("third_middle_newest").style.height = g2+"px";
		}
		if(g3>=g1&&g3>=g2){
			document.getElementById("first_middle_newest").style.height = g3+"px";
		    document.getElementById("second_middle_newest").style.height = g3+"px";
		}

	}
</script>
<script>
	function develop() {
		ZENG.msgbox.show("该模块正在开发中，敬请期待！", 5, 2000);
	}
</script>
<body id="wid">
	<div class="modal-shiftfix">
		<!-- Navigation -->
		<div class="navbar navbar-fixed-top scroll-hide">
			<div class="container-fluid top-bar">
				<div class="pull-right">
					<ul class="nav navbar-nav pull-right">
						<!--<li class="dropdown messages hidden-xs"><a
							class="dropdown-toggle" data-toggle="dropdown" href="#"><span
								aria-hidden="true" class="se7en-envelope"></span>
								<div class="sr-only">Messages</div>
								<p class="counter">3</p> </a>   <ul class="dropdown-menu messages">
                            <li>
                            <a href="#"><img width="34" height="34" src="<?php echo (RESOURCES); ?>HOME/images/avatar-male2.png" />Could we meet today? I wanted...</a>
                            </li>
                            <li>
                            <a href="#"><img width="34" height="34" src="<?php echo (RESOURCES); ?>HOME/images/avatar-female.png" />Important data needs your analysis...</a>
                            </li>
                            <li>
                            <a href="#"><img width="34" height="34" src="<?php echo (RESOURCES); ?>HOME/images/avatar-male2.png" />Buy Se7en today, it's a great theme...</a>
                            </li>
                            </ul></li> -->
						<?php if($_SESSION['userType'] == 1): ?><li class="dropdown user hidden-xs"><a data-toggle="dropdown"
							class="dropdown-toggle" href="#"><img width="34" height="34"
								src="<?php echo (RESOURCES); ?>UPLOADS/photo/<?php echo ($_SESSION['userPhoto']); ?>" /><?php echo ($_SESSION['userRealname']); ?>
								<b class="caret"></b></a>
							<ul class="dropdown-menu">
								<li><a
									href="<?php echo (DOMAIN_NAME); ?>Home/Project/myRelease"><i
										class="icon-table"></i>项目管理</a></li>
								<li><a href="<?php echo (DOMAIN_NAME); ?>Home/Idea/myIdea"><i
										class="icon-list-ul"></i>创意管理</a></li>
								
								<!--		<li><a
									href="<?php echo (DOMAIN_NAME); ?>Home/Activity/myJoin"><i
										class="icon-th"></i>创新活动管理</a></li>
								<li><a
									href="<?php echo (DOMAIN_NAME); ?>Home/Subject/mySubject"><i
										class="icon-th-large"></i>创新专题管理</a></li>  -->
								<li><a
									href="<?php echo (DOMAIN_NAME); ?>Home/Account/editInfo"><i
										class="icon-cogs"></i>修改个人信息</a></li>
								<li><a
									href="<?php echo (DOMAIN_NAME); ?>Home/Account/editPswd"><i
										class="icon-cog"></i>修改密码</a></li>
								<li><a onclick="Javascript:return confirm('确定要退出吗？');"
									href="<?php echo (DOMAIN_NAME); ?>Home/Account/Logout"><i
										class="icon-signout"></i>注销</a></li>
							</ul></li>
						<?php elseif($_SESSION['userType'] == 2): ?>教师<?php else: ?>
						<li class="dropdown user hidden-xs"><a data-toggle="dropdown"
							class="dropdown-toggle" href="#"><img width="34" height="34"
								src="<?php echo (RESOURCES); ?>HOME/images/avatar-male.jpg" />请登录<b
								class="caret"></b></a>
							<ul class="dropdown-menu">
								<li><a href="<?php echo (DOMAIN_NAME); ?>Home/Account/Login"><i
										class="icon-user"></i>登录</a></li>
								<li><a
									href="<?php echo (DOMAIN_NAME); ?>Home/Account/Registered"><i
										class="icon-group"></i>注册</a></li>
								<li><a href="<?php echo (DOMAIN_NAME); ?>Home/Account/Back"><i
										class="icon-th"></i>找回密码</a></li>
							</ul></li><?php endif; ?>
					</ul>
				</div>
				<button class="navbar-toggle">
					<span class="icon-bar"></span> <span class="icon-bar"></span> <span
						class="icon-bar"></span>
				</button>
				<a href="<?php echo (DOMAIN_NAME); ?>">
                <img src="<?php echo (RESOURCES); ?>ADMIN/IMAGES/se7en-logo.png" />
            </a>
				<form class="navbar-form form-inline col-lg-2 hidden-xs"></form>
			</div>
			<div class="container-fluid main-nav clearfix">
				<div class="nav-collapse">
					<ul class="nav">
						<li><a id="Index"
							href="<?php echo (DOMAIN_NAME); ?>Home/Index/"><span
								aria-hidden="true" class="se7en-home"></span>首页</a></li>
						<li class="dropdown"><a id="Project" data-toggle="dropdown" href="#"> <span aria-hidden="true" class="se7en-feed"></span>项目中心<b class="caret"></b></a>
							<ul class="dropdown-menu">
								
								<!-- <li><a id="ProjectL" href="<?php echo (DOMAIN_NAME); ?>Home/Project/showList">项目招标</a>
								</li> -->
								<li><a id="ProjectL" href="<?php echo (DOMAIN_NAME); ?>Home/Project/isbid_List">正在招标项目</a>
								</li>
								<li><a id="ProjectL" href="<?php echo (DOMAIN_NAME); ?>Home/Project/isfinish_List">成功结项案例</a>
								</li>
								<li><a id="ProjectM" href="<?php echo (DOMAIN_NAME); ?>Home/Project/myRelease">我的项目管理</a>
								</li>
			
							</ul></li>

						<li class="dropdown"><a id="Idea" data-toggle="dropdown" href="#"> <span aria-hidden="true" class="se7en-feed"></span>创意中心<b class="caret"></b></a>
							<ul class="dropdown-menu">
								<li><a id="IdeaL" href="<?php echo (DOMAIN_NAME); ?>Home/Idea/showList">创意列表</a>
								</li>
								<li><a id="IdeaM" href="<?php echo (DOMAIN_NAME); ?>Home/Idea/myIdea">我的创意管理</a>
								</li>
			
							</ul></li>
						
						<li ><a id="News"
							href="<?php echo (DOMAIN_NAME); ?>Home/News/showList"><span
								aria-hidden="true" class="se7en-charts"></span>新闻动态</a></li>

							<li class="dropdown">
							<a id="Idea" data-toggle="dropdown" href="#"> <span aria-hidden="true" class="se7en-forms"></span>创新活动<b class="caret"></b></a>
								<ul class="dropdown-menu">
								<li><a id="IdeaL" href="<?php echo U('activity/showlist');?>">活动列表</a>
								</li>
								<li><a id="IdeaM" href="<?php echo U('activity/endlist');?>">结束活动</a>
								</li>
								<li><a id="IdeaM" href="<?php echo U('activity/myJoin');?>">我的活动列表</a>
								</li>
							</ul></li>
						<li><a id="Subject" onclick="develop()"><span
								aria-hidden="true" class="se7en-forms"></span>创新专题</a></li>

					</ul>
				</div>
			</div>
		</div>
<style type="text/css">
          .p{
            height:100px;
            width: 50%;
            position: absolute;
            left: 45%;
          }
              .pages a,  
            .pages span {  
                display: inline-block;  
                padding: 2px 5px;  
                margin: 2 3px;  
                border: 1px solid #f0f0f0;  
                -webkit-border-radius: 3px;  
                -moz-border-radius: 3px;  
                border-radius: 3px;  
            }  
              
            .pages a,  
            .pages li {  
                display: inline-block;  
                list-style: none;  
                text-decoration: none;  
                color: #58A0D3;  
            }  
              
            .pages a.first,  
            .pages a.prev,  
            .pages a.next,  
            .pages a.end {  
                margin:0;  
            }  
              
            .pages a:hover {  
                border-color: #50A8E6;  
            }  
              
            .pages span.current {  
                background: #50A8E6;  
                color: #FFF;  
                font-weight: 700;  
                border-color: #50A8E6;  
            }
            .a{
              float: left;
            }  


          </style>
<div class="container-fluid main-content">
	<ul class="timeline animated">
	<?php if(is_array($list)): foreach($list as $k=>$vo): ?><li>
			<div class="timeline-time">
				<small>管理员</small> <strong style="font-size: 13px"><?php echo (substr($vo["adate"],0,10)); ?>&nbsp;<?php echo ($vo["time"]); ?>
					</strong>
				
			</div>
		 <?php if($k %3 == 1 ): ?><div class="timeline-icon">
				<div class="bg-primary">
					<i class="icon-pencil"></i>
				</div>
			</div><?php endif; ?>
		 <?php if($k %3 == 2 ): ?><div class="timeline-icon">
				<div class="bg-success">
					<i class="icon-time"></i>
				</div>
			</div><?php endif; ?>
		 <?php if($k %3 == 0 ): ?><div class="timeline-icon">
					<div class="bg-danger">
						<i class="icon-pencil"></i>
					</div>
				</div><?php endif; ?>
			<div class="timeline-content">
				<h2>
					<a href="<?php echo (DOMAIN_NAME); ?>Home/Activity/details/aid/<?php echo ($vo["aid"]); ?>"
						target="_bank" style="color: #666666; font-family: 黑体;"><?php echo ($vo["aname"]); ?></a>
				</h2>
				<p style="letter-spacing: 1px; text-indent: 30px;"><?php echo ($vo["desc"]); ?></p>
				<br />
			</div>
		</li><?php endforeach; endif; ?>


	</ul>
</div>
<br>
<div class="p">
<div class="pages" >
	<?php echo ($page); ?>
</div>	
</div>
<meta charset=utf-8 />
<div class="container-fluid main-content">
	<div class="page-title"></div>
	<div class="row">
		<div class="col-lg-12" style="margin: 25px 0 0 0">
			<div class="widget-container fluid-height clearfix">
				<div class="col-md-12" style="text-align: center">
					<div class="dh" style="text-align: center; margin: 40px 0 15px 0">
						<small><a href="<?php echo (DOMAIN_NAME); ?>Home/Index/">首页</a>&nbsp;
						</small> <small><a
							href="<?php echo (DOMAIN_NAME); ?>Home/Idea/showList">创意列表</a>&nbsp;</small>
						<small><a
							href="<?php echo (DOMAIN_NAME); ?>Home/Project/showList">项目列表</a>&nbsp;
						</small> <small><a
							href="#">创新活动</a>&nbsp;</small>
						<small><a
							href="#">创新专题</a>&nbsp;
						</small> <small> <a
							href="<?php echo (DOMAIN_NAME); ?>Home/News/showList">新闻动态</a></small>
					</div>
					<p style="text-align: center; margin: 10px 0 30px 0">
						<small><a href="http://www.neusoft.edu.cn/" target="_bank">大连东软信息学院</a>
							- 计算机科学与技术系</small>
					</p>
				</div>
			</div>
		</div>
		<!-- End Pie Graph 1 -->
	</div>
</div>

</body>
</html>